package com.ktjiaoyu.crm.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ktjiaoyu.crm.pojo.Right;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RightMapper extends BaseMapper<Right> {
    /**
     * 根据角色id查询权限
     * @param roleId
     * @return
     */
    public List<Right> findRightsByRoleId(@Param("roleId") Long roleId);
}
